package com.usian.article.feign;

import com.usian.model.user.pojos.ApUserFollow;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("leadnews-user")
public interface UserFeign {
    @GetMapping("/api/v1/user/getFollow")
    ApUserFollow getFollow(@RequestParam Integer userId, @RequestParam Integer authorUserId);
}
